package com.yunfeisoft.business.service.impl;

import com.applet.base.BaseServiceImpl;
import com.yunfeisoft.business.dao.inter.OmsOrderItemDao;
import com.yunfeisoft.business.model.OmsOrderItem;
import com.yunfeisoft.business.service.inter.OmsOrderItemService;
import com.applet.sql.separation.DataSourceChange;
import com.applet.utils.Page;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * ClassName: OmsOrderItemServiceImpl
 * Description: 订单中所包含的商品service实现
 * Author: Jackie liu
 * Date: 2020-06-02
 */
@Service("omsOrderItemService")
public class OmsOrderItemServiceImpl extends BaseServiceImpl<OmsOrderItem, String, OmsOrderItemDao> implements OmsOrderItemService {

    @Override
    @DataSourceChange(slave = true)
    public Page<OmsOrderItem> queryPage(Map<String, Object> params) {
        return getDao().queryPage(params);
    }
}